package com.sls.game.service;

import com.sls.core.socket.Head;
import com.sls.core.socket.ServerDisponseException;

public interface SupplyRuleService {

	/**
	 * 新增
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public String save(String body, Head head) throws ServerDisponseException;

	/**
	 * 修改
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public String update(String body, Head head) throws ServerDisponseException;

	/**
	 * 单条查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public String queryRuleByGoodsId(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 分页查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public String querySupplyRule(String body, Head head)
			throws ServerDisponseException;
}
